package com.ruoyi.contractManagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户签约记录对象 doc_contract
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class DocContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签约Id */
    private Long contractId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 团队Id */
    @Excel(name = "团队Id")
    private Long teamId;

    /** 签约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contractTime;

    /** 签约状态 */
    @Excel(name = "签约状态")
    private String contractState;

    /** 订单Id */
    @Excel(name = "订单Id")
    private Long orderId;

    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }

    public void setContractTime(Date contractTime) 
    {
        this.contractTime = contractTime;
    }

    public Date getContractTime() 
    {
        return contractTime;
    }

    public void setContractState(String contractState) 
    {
        this.contractState = contractState;
    }

    public String getContractState() 
    {
        return contractState;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractId", getContractId())
            .append("userId", getUserId())
            .append("teamId", getTeamId())
            .append("contractTime", getContractTime())
            .append("contractState", getContractState())
            .append("orderId", getOrderId())
            .toString();
    }
}
